<script setup>
import {
	onLaunch,
	onShow
} from '@dcloudio/uni-app'
import {
	getUserInfo
} from '@/api/apiList'

// onShow(() => {
//   getUserInfoData()
// })
// const getUserInfoData = async () => {
//   const res = await getUserInfo()
//   if (res.code == 200) {
//     uni.setStorageSync('userInfo', res.data)
//   }
// }
</script>

<style lang="scss">
:deep(.uni-scroll-view::-webkit-scrollbar) {
	/* 隐藏滚动条，但依旧具备可以滚动的功能 */
	display: none
}

/*每个页面公共css */
page {
	background-color: #f6f6f6;
}

.ip-item:last-child {
	margin-bottom: 0;
}

.ip-item {
	box-sizing: border-box;
	border: 2rpx solid #0753FD;
	border-radius: 16rpx;
	margin-bottom: 20rpx;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 24rpx;
	position: relative;

	.text {
		padding: 28rpx;
		font-size: 32rpx;
	}

	.avatar {
		padding-top: 10rpx;

		image {
			width: 88rpx;
			height: 88rpx;
			border-radius: 50%;
		}

	}

	.block {
		padding: 0 24rpx;
		background-color: red;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 80rpx;
		background-color: transparent;
	}

	.number {
		position: absolute;
		bottom: 14rpx;
		right: 20rpx;
		font-family: PingFang SC Medium;
		font-size: 24rpx;
		font-weight: normal;
		color: #BBBBBB;
	}

	.title {
		font-family: PingFang SC Medium;
		font-size: 32rpx;
		font-weight: normal;
		color: #111111;
		padding: 0 24rpx;
	}

	.up {
		width: 88rpx !important;
		height: 88rpx !important;
		border-radius: 12rpx;
		margin: 10rpx 0;
	}

	.text-area {
		// height: 540rpx;
		height: auto;
		min-height: 200rpx;
		max-height: 500rpx;
	}

	input,
	.text-area {
		padding: 20rpx;
		font-family: PingFang SC Medium;
		font-size: 32rpx;
		font-weight: normal;
		color: #111111;
		width: 100%;
	}

	.ip {
		font-family: PingFang SC Medium;
		font-size: 32rpx;
		font-weight: normal;
		color: #BBBBBB;
	}

	image {
		width: 32rpx;
		height: 20rpx;
	}
}


.title-block {
	.title-line {
		width: 6rpx;
		height: 24rpx;
		border-radius: 20rpx;
		background: #0753FD;
		margin-right: 12rpx;
	}

	.title-text {
		font-family: PingFang SC Bold;
		font-size: 26rpx;
		font-weight: normal;
		color: #111111;
	}
}
</style>